package com.tiny.jpa.pojo.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;
import java.util.Date;


/**
 * 用户受教育经历实体类
 * @author honglin.li
 * @date 2022/6/27
 */
@Data
@Entity
@Table(name = "demo_user_edu_exp")
@ApiModel("用户受教育经历")
public class UserEduExpEntity implements Serializable {

    @Id
    @ApiModelProperty("记录主键")
    private String pkid;

    @ApiModelProperty("用户编号")
    private String userId;

    @ApiModelProperty("学校名称")
    private String schoolsName;

    @ApiModelProperty("学校编号")
    private String schoolsId;

    @ApiModelProperty("学校级别")
    private String schoolsLevel;

    @ApiModelProperty("入学时间")
    private Date admissionTime;

    @ApiModelProperty("毕业时间")
    private Date graduationOfTime;

    @ApiModelProperty("有效状态")
    private boolean effectState;

}
